Once you have created a c2pWindow object using Mc2pWindow you can duplicate/copy the object to a destination c2pWindow object by using MCopyc2pWindow. A c2pWindow object does not need to allocate any extra memory other than what was allocated with MReservec2pWindows, so only structure-data is copied. Generally the source and destination object numbers should be different, and the source c2pWindow should be an object that you have already created. Valid numbers should be used in the range of 0 upwards to the total number of objects minus 1.
Possible syntax:
MCopyc2pWindow Sourcec2pWindowNum.w, Destc2pWindowNum.w
Sourcec2pWindowNum.w ---- This is the number of the c2pWindow that you
wish to copy or duplicate, and should be a c2pWindow object that you have already
created with
Mc2pWindow. The number of the c2pWindow should be
in the range of 0 upwards to the total number of objects minus 1.